.yjx-drug{
  background-color: #fff;
}

.card-cover {  
  position: relative;  
  display: flex;  
  align-items: center; /* 垂直居中 */  
  justify-content: center; /* 水平居中 */  
  height: 200px; /* 根据你的需要设置高度 */  
  width: 100%; /* 宽度可以设置为100%或者具体的值 */  
  overflow: hidden; /* 如果图片太大，超出部分会被隐藏 */  
} 
.ant-card .ant-card-body{
  padding: 0px;
} 
.card-cover img {  
  width: 100%;  
  height: 100%;  
  object-fit: cover; /* 保持图片的宽高比，同时填充整个容器 */  
}  
  
.card-cover-text {  
  position: absolute;  
  font-size: 50px;
  font-weight: bold;
  color: white; /* 假设你想让文字显示为白色 */  
  z-index: 1; /* 确保文字在图片上方 */  
  /* 你可以添加更多的样式来美化文字，如字体大小、字体粗细等 */  
}  
.yjx-drug .yjx-home-floor2 {
  /*width: 1200px;*/
  /*display: flex;*/
  /*width: 100%;*/
  height: 400px;
  margin: 0 auto 0;
  width: 1500px;
  /* margin: auto; */
  /*padding-block: 12px;*/
  /*overflow: hidden;*/
  /* padding-bottom: -100px; */
  /* border-radius: 10px; */
  /* border: 3px solid grey; */
   /* 1px宽，实线样式，黑色 */  
  
}
.yjx-drug .yjx-home-floor4 {
  gap: 20px; /* 设置组件之间的间距 */
  margin: 28px auto 0;
  width: 1200px;
  display: flex;
  height: 220px;
/* margin-top: -40px; */
 /* padding-inline: 100px; */
  border-radius: 10px;
  z-index: 999;
}
.yjx-home-floor4 .ant-card{
  width: 300px;
  /* margin-inline: 3px; */
  background: rgba( 255, 255, 255, 0.25 );
  box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
  backdrop-filter: blur( 1px );
  -webkit-backdrop-filter: blur( 1px );
  /* border-radius: 10px; */
  border: 1px solid rgba( 255, 255, 255, 0.18 );
}
.yjx-home-floor4 .ant-card {
  transition: All 0.4s ease-in-out;
		-webkit-transition: All 0.4s ease-in-out;
		-moz-transition: All 0.4s ease-in-out;
		-o-transition: All 0.4s ease-in-out;
} 
.yjx-home-floor4 .ant-card:hover{
  transform: scale(1.2);
  -webkit-transform: scale(1.2);
  -moz-transform: scale(1.2);
  -o-transform: scale(1.2);
  -ms-transform: scale(1.2);
}

.yjx-drug .yjx-home-floor3 {
  margin: 28px auto 0;
  width: 1200px;
  /* border: 1px solid grey; */
}

.yjx-drug .yjx-home-floor3 .big-card {
  border-radius: 10px;

 
}

.yjx-drug .yjx-home-floor3 .big-card .more {

  margin-right: 8px;
  margin-left: 18px;
}

.yjx-drug .yjx-home-floor3 .big-card .more a {
  color: #000000a6;
}

.yjx-drug .yjx-home-floor3 .big-card .more a:hover {
  color: coral;
}

.yjx-drug .yjx-home-floor3 .ant-card {
  margin-right: 17px;
  
}

.yjx-drug .yjx-home-floor3 .ant-card .ant-card-cover>* {
  display: initial;
}
.yjx-drug .yjx-home-floor3 .ant-card .ant-card-cover{
  height: 170px;
}

.yjx-drug .yjx-home-floor3 .ant-card .ant-card-cover img {
  width: 200px;
  height: 170px;
}

.yjx-drug .yjx-home-floor3 .ant-card .ant-card-body {
  padding: 18px 17px;
}

.yjx-drug .yjx-home-floor3 .drug-allCard {
  display: flex;
  margin: auto;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-left: 16px;
}

.yjx-drug .yjx-home-floor3 .drug-card {
  margin-bottom: 20px;
  margin-top: 0;
}

.yjx-drug .yjx-home-floor3 .drug-allCard div:hover {
  color: #ff2c30;
}

.yjx-drug .yjx-home-floor3 .ant-card-head-title {
  font-size: 21px;
  padding: 16px 0 8px 56px;
  color: #000000a6;
}

.yjx-drug .yjx-home-floor3 .ant-card-meta-title {
  color: #000000a6;
}